﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace seo
{
    class GoogleSearch
    {
        static HttpHelper httpHelper = new HttpHelper();

        public static string Search(string keyword)
        {
            return Search(keyword, 0);
        }

        public static string Search(string keyword, int start)
        {
            string result = String.Empty;
            string url = "http://66.249.89.104/search?q=" + keyword + "&hl=en&biw=1276&bih=616&prmd=n&start=" + start + "&sa=N";
            result = httpHelper.sendRequest(url);
            return result;
        }
    }
}
